package result;

import lombok.Getter;
import lombok.Setter;

import java.util.Map;

@Getter
@Setter
public class ModelAndView {
    private Map<String, Object> model;
    private String view;

    public ModelAndView(String view) {
        this.view = view;
    }

    public ModelAndView(Map<String, Object> model, String view) {
        this.model = model;
        this.view = view;
    }
}
